
function xianzhi(e) {
    var event = window.event || e;
    var key = document.all ? event.keyCode : event.which;
    return (key>=48&&key<=57)||key==8||key==46;
}
function xianzhi1(e) {
    var event = window.event || e;
    var key = document.all ? event.keyCode : event.which;
    if((key>=48&&key<=57)||key==8||key==46){
    	return true;
    }else{
    	return false;
    }
}
function xianzhi2(e) { 
    var input = document.getElementById('kssjh'); 
    if(parseInt(input.value)>24){
		input.value="";
    }
    var input1 = document.getElementById('kssjm'); 
    if(parseInt(input1.value)>=60){
		input1.value="";
    }
    var input2 = document.getElementById('jssjh'); 
    if(parseInt(input2.value)>24){
		input2.value="";
    }
    var input3 = document.getElementById('jssjm'); 
    if(parseInt(input3.value)>=60){
		input3.value="";
    }
    if(parseInt(input.value)>parseInt(input2.value)){
    	input.value="";
    }
    if(parseInt(input.value)==parseInt(input2.value)){
    	if(parseInt(input1.value)>=parseInt(input3.value)){
    		input1.value="";
    	}
    }
}
	
